@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?hxg8pd');
    src: url('../fonts/icomoon.eot?hxg8pd#iefix') format('../embedded-opentype'), url('../fonts/icomoon.ttf?hxg8pd') format('truetype'), url('../fonts/icomoon.woff?hxg8pd') format('woff'), url('../fonts/icomoon.svg?hxg8pd#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.main {
    width: 980px;
    height: 455px;
    margin: 10px 0 12px 220px;
}


/* 左侧焦点图 */

.focus {
    position: relative;
    float: left;
    width: 721px;
    height: 455px;
    overflow: hidden;
}


/* ul要足够宽，不然图片会跑到下面 
 ul必须有定位，不然不能用缓动动画 */

.focus ul {
    position: absolute;
    top: 0;
    left: 0;
    /* right: 0; */
    width: 500%;
}

.focus ul li {
    float: left;
}


/* 左右箭头 */

.focus .arrow_left,
.focus .arrow_right {
    display: none;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    width: 30px;
    height: 30px;
    padding-left: 8px;
    line-height: 28px;
    border-radius: 0 15px 15px 0;
    background-color: #ccccccaa;
    z-index: 999;
}

.focus .arrow_right {
    padding-left: 12px;
    border-radius: 15px 0 0 15px;
    right: 0;
}


/* 下侧小点 */

.focus .circle {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translate(-50%, 0);
    height: 16px;
    /* width: 160px; */
    border-radius: 10px;
    background-color: #ecececaa;
}

.focus .circle li {
    float: left;
    width: 10px;
    height: 10px;
    margin: 3px 5px 0;
    border-radius: 5px;
    background-color: #eff;
    cursor: pointer;
}

.focus .circle .current {
    background-color: #c81623;
}


/* .focus .circle li:hover {
    background-color: #c81623;
} */


/* 右侧大盒子 */

.newflash {
    float: right;
    width: 250px;
    height: 455px;
}


/* 快报 */

.news {
    height: 165px;
    border: 1px solid #e4e4e4;
}


/* 快报上沿 */

.news_hd {
    height: 32px;
    border-bottom: 1px dotted #e4e4e4;
    line-height: 32px;
    /* 建议padding加到这里加左右 */
    padding: 0 15px;
}


/* 品优购快报 */

.news_hd h5 {
    float: left;
    font-size: 14px;
}


/* 更多 */

.news_hd a {
    float: right;
}


/* 更多右侧箭头 */

.news_hd a::after {
    margin-left: 3px;
    content: '\e90b';
    font-family: 'icomoon';
}

.news_bd {
    padding: 5px 15px 0;
}

.news_bd ul li {
    height: 24px;
    line-height: 24px;
    /* 溢出文字隐藏 */
    overflow: hidden;
    /* 不允许换行 */
    white-space: nowrap;
    /* 省略号 */
    text-overflow: ellipsis;
}


/* 生活服务 */

.lifeservice {
    height: 207px;
    /* background-color: pink; */
    border-right: 1px solid #e4e4e4;
    overflow: hidden;
}


/* 装不下可以把ul宽度设置刚好li个数的宽度 */

.lifeservice ul {
    width: 252px;
}

.lifeservice ul li {
    position: relative;
    float: left;
    width: 63px;
    height: 69px;
    border-left: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    /* background-color: salmon; */
    text-align: center;
    /* line-height: 69px; */
}

.lifeservice ul li i {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-top: 12px;
    background: url(../images/icons.png) no-repeat -16px -16px;
}

.lifeservice ul li:nth-child(2) i {
    background-position: -78px -16px;
}

.lifeservice ul li:nth-child(3) i {
    background-position: -141px -16px;
}

.lifeservice ul li:nth-child(4) i {
    background-position: -206px -16px;
}

.lifeservice ul li:nth-child(5) i {
    background-position: -16px -88px;
}

.lifeservice ul li:nth-child(6) i {
    background-position: -78px -88px;
}

.lifeservice ul li:nth-child(7) i {
    background-position: -141px -88px;
}

.lifeservice ul li:nth-child(8) i {
    background-position: -206px -88px;
}

.lifeservice ul li:nth-child(9) i {
    background-position: -16px -159px;
}

.lifeservice ul li:nth-child(10) i {
    background-position: -79px -159px;
}

.lifeservice ul li:nth-child(11) i {
    background-position: -141px -156px;
}

.lifeservice ul li:nth-child(12) i {
    background-position: -206px -159px;
}

.lifeservice ul li:nth-child(2)::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 15px;
    background: url('../images/discount.png') no-repeat;
}


/* 优惠图片链接 */

.bargain {
    margin-top: 6px;
}


/* 推荐模块 */

.recom {
    height: 163px;
    background-color: #ebebeb;
}


/* 推荐左侧：今日推荐 */

.recom_hd {
    float: left;
    width: 206px;
    height: 163px;
    padding-top: 30px;
    background-color: #5c5251;
    text-align: center;
}

.recom_hd h4 {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
}


/* 右侧推荐商品 */

.recom_bd ul {
    width: 1201px;
}

.recom_bd ul li {
    float: left;
    border-left: 1px solid #e4e4e4;
}

.recom_bd ul li:nth-child(3) {
    border: 0;
}

.recom_bd ul li img {
    width: 248px;
    height: 163px;
}


/* 猜你喜欢   */


/* 电梯区家用电器 */

.home_appliances {
    margin-top: 30px;
}


/* 上边框 */

.box_hd {
    height: 30px;
    border-bottom: 2px solid #c81623;
}

.box_hd h3 {
    float: left;
    /* padding-bottom: 5px; */
    font-weight: 400;
    font-size: 18px;
    color: #c81623;
}

.box_hd .tab_list {
    float: right;
    height: 30px;
    padding: 5px 0;
}

.box_hd .tab_list ul li {
    float: left;
    border-left: 1px solid #999;
    padding: 0 16px 0 14px;
}

.box_hd .tab_list ul li:first-child {
    border: 0;
}


/*  这里推荐用red类名去给热门加红
.box_hd .tab_list ul li:first-child a {
    color: #c81623;
} */


/* 电梯层主题内容 */

.box_bd {
    height: 361px;
    /* background-color: pink; */
}


/* 内容 */

.tab_list_item>div {
    float: left;
    height: 360px;
}

.col_210 {
    width: 210px;
    background-color: #f9f9f9;
    text-align: center;
}

.col_210 ul {
    padding-left: 14px;
}

.col_210 ul li {
    float: left;
    width: 85px;
    height: 34px;
    border-bottom: 1px solid #ededed;
    /* margin-left: 14px; */
    /* 这里建议用paddingleft撑开ul，再用marginright撑开右侧 */
    margin-right: 10px;
    margin-top: 5px;
    line-height: 33px;
}

.col_210 img {
    margin-top: 18px;
}

.col_329 {
    width: 329px;
    /* margin-top: -; */
}

.col_221 {
    width: 221px;
    /* padding-top: 54px;  */
}


/* a里面有宽度的盒子，要转块级元素 */

.col_219 a,
.col_221 a {
    display: block;
}

.col_221 img,
.col_219 img {
    width: 220px;
    height: 180px;
    padding: 24px 0 0 19px;
    border-right: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
}

.col_219 {
    margin-left: -1px;
}


/* 为什么这里无法选到？ */


/* .tab_list_item:nth-child(4) img {
    height: 361px;
    padding: 72px 23px 55px 23px;
} */

.nub img {
    height: 360px;
    padding: 72px 23px 55px 23px;
}

.col_219 {
    width: 219px;
}

.fixedtool {
    display: none;
    position: fixed;
    left: 10px;
    top: 40%;
    width: 80px;
    /* background-color: pink; */
}

.fixedtool ul li {
    border-bottom: 1px solid #999;
    width: 100%;
    height: 40px;
    margin-top: -1px;
    line-height: 40px;
    text-align: center;
    /* color: #999; */
    font-size: 14px;
    cursor: pointer;
}

.fixedtool ul li:hover {
    /* border-bottom: 0; */
    background-color: #c81623;
    color: #fff;
}

.fixedtool .current {
    background-color: #c81623;
    color: #fff;
}